using System;
using System.Collections;
using System.Threading;
using System.Web;
using System.Web.Security;
using Sedna.Core.Controller;
using Sedna.Core.Controller.Common;
using Sedna.Core.Security;

namespace Sedna.UI.Access.Actions
{
	/// <summary>
	/// implements simple Form based authentication successful login redirect facility
	/// </summary>
	public class LoginSuccessRedirectAction : AbstractAction
	{
		public override IActionResult Execute(IExecutionContext executionContext)
		{
			PrincipalCookieUtil.RedirectFromLoginPage();

			return CreateResult(successStatus);
		}
	}
}
